package com.baizhi.factory;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class DateEntryFactory {
    @Bean
    public Date getDateMethod(){
        return new Date();
    }
}
